package com.bookmanger.entity.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
public class BookListVo {
    private String id;//图书id
    private String bookName;//书名
    private String description;//描述
    private String author;//作者
    private Long categoryId;//分类id
    private int amount;//库存
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime updateTime;//更新时间
    private String cover;//封面
    private String publishing_house;//出版社
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime publishing_time;//出版时间
    private int pages;//页数
    private BigDecimal price;//定价
    private String binding;//装帧
    private Boolean grounding;//上架
}
